﻿using System;

class Employee
{
  
    private string name;
    private int age;
    private double salary;

    public Employee(string name, int age, double salary)
    {
        this.name = name;
        this.age = age;
        this.salary = salary;
    }

    public string GetName()
    {
        return name;
    }

    public void SetName(string name)
    {
        this.name = name;
    }

    public int GetAge()
    {
        return age;
    }

    public void SetAge(int age)
    {
        this.age = age;
    }

    public double GetSalary()
    {
        return salary;
    }

    public void SetSalary(double salary)
    {
        this.salary = salary;
    }

    public void DisplayInfo()
    {
        Console.WriteLine("员工姓名：" + name);
        Console.WriteLine("员工年龄：" + age);
        Console.WriteLine("员工工资：" + salary);
    }
}

class Program
{
    static void Main(string[] args)
    {
        Employee employee = new Employee("张三", 25, 5000.0);
        
        employee.DisplayInfo();
        employee.SetName("李四");
        employee.SetAge(30);
        employee.SetSalary(6000.0);
        Console.WriteLine("修改后的员工信息：");
        employee.DisplayInfo();
    }
}